import {request} from '../request'

// 1.登陆
export function signIn(data) {
  return request({
    url: '/signIn',
    method: 'post',
    data: data
  })
}
// 2.获取用户信息
export function getUserInfo(data) {
  return request({
    url: '/getUserInfo',
    method: 'post',
    data: data
  })
}
// 3.注册
export function SignUp(data) {
  return request({
    url: '/signUp',
    method: 'post',
    data: data
  })
}
